package org.thingsboard.server.dao.jpa.imp;

import org.springframework.data.repository.CrudRepository;
import org.thingsboard.server.dao.jpa.TDeviceEvent;
import org.thingsboard.server.dao.util.SqlDao;

import java.util.List;

@SqlDao
public interface DeviceEventRepository extends CrudRepository<TDeviceEvent, String> {

    TDeviceEvent findByDeventCode(String deventCode);

}
